package org.example;

/**
 * @description:
 * @author: cxu
 * @date: 2021/9/5 16:17
 */
public class TickerMain {
    public static void main(String[] args) {
        TicketService ticketService = new TicketService();
        Thread thread1 = new Thread(ticketService,"携程");
        Thread thread2 = new Thread(ticketService,"飞猪");
        Thread thread3 = new Thread(ticketService,"智行");
        Thread thread4 = new Thread(ticketService,"支付宝");
        thread1.start();
        thread2.start();
        thread3.start();
        thread4.start();
    }
}
